package com.team9.po;

import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;

/**
 * 工资实体类
 */
@NoArgsConstructor
@AllArgsConstructor
public class Salary {
    //id
    private Integer id;

    //工号
    private String eid;

    //基本工资
    private Double baseSalary;

    //绩效工资
    private Double performanceSalary;

    //项目提成
    private Double itemSalary;

    //实发工资
    private Double totalSalary;

    //备注
    private String comment;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getEid() {
        return eid;
    }

    public void setEid(String eid) {
        this.eid = eid == null ? null : eid.trim();
    }

    public Double getBaseSalary() {
        return baseSalary;
    }

    public void setBaseSalary(Double baseSalary) {
        this.baseSalary = baseSalary;
    }

    public Double getPerformanceSalary() {
        return performanceSalary;
    }

    public void setPerformanceSalary(Double performanceSalary) {
        this.performanceSalary = performanceSalary;
    }

    public Double getItemSalary() {
        return itemSalary;
    }

    public void setItemSalary(Double itemSalary) {
        this.itemSalary = itemSalary;
    }

    public Double getTotalSalary() {
        return totalSalary;
    }

    public void setTotalSalary(Double totalSalary) {
        this.totalSalary = totalSalary;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }
}